package com.project.frba.bifront.client.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.project.frba.bifront.client.model.Dashboard;

@RemoteServiceRelativePath("dashboardServices")
public interface DashboardServices extends RemoteService {

	public Boolean createDashboard(Dashboard dashboard);
	
	public Boolean removeDashboard(Long id, Integer type);
	
	public Boolean removeDashboard(Dashboard dashboard);
	
	public Boolean addGraphicToDashboard(String codedInfo, Long dashboardId, Integer position, Integer dashboardType);
	
	public Boolean removeGraphicToDashboard(Long dashboardId, Integer position, Integer dashboardType);
	
	public Dashboard findDashboardById(Long id, Integer type);
	
	public List<Dashboard> getMyDashboards();
	
	public Boolean storeDashboard(Dashboard dashboard);
	
}
